package com.mask.userconsumer;


import com.mask.userapi.UserApi;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "user-provider",fallbackFactory = UserProviderBackFactory.class)
public interface ConsumerApi extends UserApi {

//    @GetMapping("/alive")
//    public String alive();

    @GetMapping("/alive")
    public String alive();


//    public String getById(String name);
}
